package com.wx.constants;

/**
 * <p>Title:      Constants. </p>
 * <p>Description 常量 </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company:    医百科技有限公司 </p>
 *
 * @author         <a href="xinglinglove1029@163.com"/>杨文生</a>
 * @since      2020/12/30 14:12
 */
public class Constants {
    /**
     * 成功
     */
    public static final int GB_SUCCESS = 200;

    /**
     * 失败
     */
    public static final int GB_FAIL = 500;

    /**
     * 删除
     */
    public static final String DELETE_YES = "1";

    /**
     * 不删除
     */
    public static final String DELETE_NO = "0";


    /**
     * 状态:启用
     */
    public static final String ENABLE = "1";

    /**
     * 状态:禁用
     */
    public static final String DISABLE = "0";
    /**
     * 锁定状态：已锁定
     */
    public static final Integer LOCK = 1;

    /**
     * 锁定状态：未锁定
     */
    public static final Integer UNLOCK = 0;

    /**
     * 是否使用 1是
     */
    public final static Integer YES = 1;
    /**
     * 是否使用 0否
     */
    public final static Integer NO = 0;

    /**
     * 二
     */
    public final static Integer TWO = 2;

    /**
     * 三
     */
    public final static Integer THREE = 3;

    /**
     * 是
     */
    public final static String YES_STRING = "是";


    /**
     * 已经脱组
     */
    public final static Integer OUT_GROUP_STATUS = 2;
    /**
     * slack告警
     */
    public final static String ALARM_TYPE_SLACK = "slack";

    public static final String BEARER_AUTHENTICATION = "Bearer ";


    /**
     * 短信最大提醒次数
     */
    public static final Integer REMIND_MAX_THRESHOLD = 3;

    /**
     * 发送短信成功标识
     */
    public static final String SEND_SMS_SUCCESS = "Ok";


    public static final class Sys {
        private Sys() {
        }

        /**
         * 超级管理员的用户编号
         */
        public static final String SUPER_MANAGER = "1";

        /**
         * 超级管理员的用户编号
         */
        public static final String SUPER_MANAGER_LOGIN_NAME = "admin";

        /**
         * 根菜单
         */
        public static final String ROOT = "1";


        /**
         * 数据字典根节点
         */
        public static final String DICTIONARY_ROOT = "1";

        /**
         * 根节点父编码
         */
        public static final String ROOT_PARENTID = "-1";

    }


    public static final class Level {
        private Level() {
        }

        /**
         * 省
         */
        public static final Integer PROVINCE_LEVEL = 0;

        /**
         * 市
         */
        public static final Integer CITY_LEVEL = 1;

        /**
         * 区县
         */
        public static final Integer AREA_LEVEL = 2;

    }

    public static final class JoinType {
        private JoinType() {
        }

        /**
         * 护士录入
         */
        public static final Integer NURSE_INPUT = 0;

        /**
         * 线下
         */
        public static final Integer OFFLINE = 1;

    }

    public static final class Cron {
        private Cron() {
        }

        /**
         * 随访提醒
         */
        public static final String FOLLOW_REMIND = "1";

    }


}
